

function Can_Card()
{
	Can_Array.apply(this, arguments);
}
extend_usemid(Can_Card, Can_Array);

Can_Card.prototype.locate_CardHand = function()
{
	for(var i in this.datas)
	{
		this.datas[i].position = new Position_Normal(118 + (90 * i), 440, 88, 127);
	}
}








function Card_Info(owner)
{
	this.owner = owner;

	this.ui = new Array();
}

/**
 * 初始化一切绘图需要的信息
 */
Card_Info.prototype.init = function()
{
}

function Card_Base(a_id, a_factid, a_facttype)
{
	// 都继承fact_game对象
	Fact_Game.apply(this, arguments);
	// 卡牌名称
	this.card_name = null;
	// 卡牌类别(风云卡 XX卡)
	this.card_category = null;
	// 卡牌花色
	this.card_color = null;
	//
	this.fact_info = new Card_Info(this);
}
extend_usemid(Card_Base, Fact_Game);

function Card_Normal(a_id, a_factid)
{
	Card_Base.apply(this, [ a_id, a_factid, "card" ]);
	this.view_priority = 7;
}
extend_usemid(Card_Normal, Card_Base);
